package com.net.xpay.common.domain.backup;

import com.net.common.domain.CommonDomain;
import com.net.xpay.common.enums.partner.PartnerCombinationSettleRecordType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 合伙人收益数据汇总 PartnerCombinationSettleRecord
 */
@Getter
@Setter
@NoArgsConstructor
public class X5 extends CommonDomain {

    @ApiModelProperty(notes = "商户id")
    private Long userId;

    @ApiModelProperty(notes = "合伙人id")
    private Long partnerId;

    @ApiModelProperty(notes = "月份")
    private Integer month;

    @ApiModelProperty(notes = "年份")
    private Integer year;

    @ApiModelProperty(notes = "业务类型 1.批量有密  2.安全发")
    private PartnerCombinationSettleRecordType type;

    @ApiModelProperty(notes = "是否已结算")
    private Boolean settled;

    /**
     * 统计字段
     */
    @ApiModelProperty(notes = "分佣金额 元")
    private BigDecimal partnerSettleAmount;

    @ApiModelProperty(notes = "成功金额 单位为元")
    private BigDecimal successAmount;

    @ApiModelProperty(notes = "成功笔数")
    private Long successCount;


}
